﻿<!DOCTYPE html>
<!--[if lt IE 7 ]><html class="ie ie6" lang="en"> <![endif]-->
<!--[if IE 7 ]><html class="ie ie7" lang="en"> <![endif]-->
<!--[if IE 8 ]><html class="ie ie8" lang="en"> <![endif]-->
<!--[if (gte IE 9)|!(IE)]><!-->
<html lang="en">
    <!--<![endif]-->
    <head>
        <meta charset="utf-8" />
        <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1" />
        <meta name="description" content="" />
        <meta name="author" content="" />
        <!--[if IE]>
            <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
            <![endif]-->
        <title>用户登录</title>
        <!-- BOOTSTRAP CORE STYLE CSS -->
        <link href="assets/css/bootstrap.css" rel="stylesheet" />
        <!-- FONT AWESOME CSS -->
        <link href="assets/css/font-awesome.min.css" rel="stylesheet" />
        <!-- CUSTOM STYLE CSS -->
        <link href="assets/css/style.css" rel="stylesheet" />
        <!-- Google	Fonts -->
        <link href='http://fonts.googleapis.com/css?family=Nova+Flat' rel='stylesheet' type='text/css' />
        <link href='http://fonts.googleapis.com/css?family=Open+Sans:400,700,300' rel='stylesheet' type='text/css' />
        <!-- HTML5 shim and Respond.js IE8 support of HTML5 elements and media queries -->
        <!--[if lt IE 9]>
          <script src="https://oss.maxcdn.com/libs/html5shiv/3.7.0/html5shiv.js"></script>
          <script src="https://oss.maxcdn.com/libs/respond.js/1.3.0/respond.min.js"></script>
        <![endif]-->
        <style>
            #footer {
                margin-top:240px;
            }
            #mid_logo img{
                width:100%;			/* ... */
                height:100px;		/* ... */
                display:block;
            }
            body {
                font-family: 'Open Sans', sans-serif;
                line-height: 30px;
                background:url('assets/img/background17.jpg')no-repeat;
                height:100%;
                width:100%;
                overflow: hidden;
                background-size:cover;
            }

            .left{
                position:fixed;
                left: 100px;
            }
            .right{
                position:fixed;
                left: 1400px;
            }
            .alert {
                filter:alpha(Opacity=80);
                -moz-opacity:0.5;
                opacity: 0.8;
                width: 400px;
                height:330px;
                background-color: #000;
                padding: 15px;
                margin-left: 742px;
                margin-right: 40px;
                border: 1px solid transparent;
                border-radius: 4px;
            }
            .btn {

                width: 120px;
                height:50px;
                padding: 6px 12px;
                margin-bottom: 0;
                font-size: 14px;
                font-weight: normal;
                line-height: 1.42857143;
                text-align: center;
                white-space: nowrap;
                vertical-align: middle;
                cursor: pointer;
                -webkit-user-select: none;
                -moz-user-select: none;
                -ms-user-select: none;
                user-select: none;
                background-image: none;
                border: 1px solid transparent;
                border-radius: 4px;
                margin-top: 20px;
            }
            .btn-particpant{
                background-color: #0033dd;
                color:#fff;
            }
            .btn-judge{
                background-color: #0033dd;
                color:#fff;
                margin-left: 124px;
            }
            .div-flex{
                display: flex;
                width:2000px;
                margin-left: -120px;
            }
        </style>
    </head>
    <body>
        <?PHP
        if(!empty($_GET['signup_flag'])){$signup_flag=$_GET['signup_flag'];}else{$signup_flag=0;}
        if(!empty($_GET['email'])){$email=$_GET['email'];}else{$email='';}
        if($signup_flag==1){
        echo "<script>alert('注册成功');</script>";
        }
        ?>


        <div id="head">
            <div class="container">
                <div class="row" style="width:1500px;">

                    <div class="col-lg-4 col-md-4 col-sm-4">
                        <a href="http://www.hitsz.edu.cn/index.html" target="_blank">
                            <img src="assets/img/logo.png" width="300" height="70" />
                        </a>
                    </div>
                    <div id="mid_logo" class="col-lg-4 col-md-4 col-sm-4" style="width:500px;margin-left: -130px;margin-top:-20px;">
                        <a href="competition_information.html" target="_self">
                            <img src="assets/img/CUPTzn_logo.png " height="70" class="" />
                        </a>
                    </div>
                    <div class="col-lg-4 col-md-4 col-sm-4" style="margin-left:64px;">
                        <a href="http://ssc.hitsz.edu.cn/" target="_blank" >
                            <img src="assets/img/school_of_science_logo.png" width="300" height="70" />
                        </a>
                    </div>

                </div>
            </div>
        </div>
        <section >




            <div class="alert">
                <h3 style="color: #fff;text-align: center;">用户登录</h3>
                <form name="user_signin" method="post">
                    <div class="form-group">
                        <input type="email" class="form-control" required="required" id="email" name="email" placeholder="请输入您的邮箱" value="<?PHP echo $email;?>" />
                    </div>
                    <div class="form-group">
                        <input type="password" class="form-control" required="required" id="password" name="password" placeholder="请输入您的密码" />
                    </div>
                    <div class="form-group">
                        <button type="submit" class="btn btn-particpant" onclick="participant_signin()">参赛师生登录</button>
                        <button type="submit" class="btn btn-judge" onclick="judge_signin()">评委登录</button>
                    </div>

                </form>
            </div>
            <script type='text/javascript'>
                function participant_signin() {
                    document.user_signin.action = "user-signin.php?flag=0";
                    document.user_signin.submit();
                }
                function judge_signin() {
                    document.user_signin.action = "user-signin.php?flag=1";
                    document.user_signin.submit();
                }
            </script>



        </section>
        <div id="footer">
            <div class="container">

                <div class="row">
                    <a href="https://map.baidu.com/poi/%E5%93%88%E5%B0%94%E6%BB%A8%E5%B7%A5%E4%B8%9A%E5%A4%A7%E5%AD%A6(%E6%B7%B1%E5%9C%B3)/@12687920.168219294,2566432.5198642304,19.35z?uid=d5577613b853c00e85420ef7&primaryUid=12811873954306995687&ugc_type=3&ugc_ver=1&device_ratio=1&compat=1&querytype=detailConInfo&da_src=shareurl" target="_blank">
                        <div class="col-lg-4 col-md-4 col-sm-4">
                            <h3>比赛地点</h3>
                            <p>
                                广东省 深圳市 南山区 
                                <br />
                                深圳大学城 哈尔滨工业大学
                                <br />
                            </p>
                        </div>
                    </a>
                    <div class="col-lg-4 col-md-4 col-sm-4 " style="text-align: center;width:700px;" >
                        <table width="1200" >
                            <tr>
                                <th colspan="3"><h3 style="text-align: center;">比赛事宜咨询</h3></th> <th>&nbsp;&nbsp;</th><th>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</th><th>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</th> <th><h3>网站BUG反馈及修改建议</h3></th>
                            </tr>
                            <tr>
                                <th>姓名:</th><td><b>陈浩基老师</b></td><td><b>王拴老师</b></td> <th></th><th></th><th></th> <th><b>王家毅</b></th>
                            </tr>
                            <tr>
                                <th>手机:</th><td><b>15546742284</b></td><td><b>13058119308</b></td> <th></th><th></th><th></th> <th><b>13613089675</b></th>
                            </tr>
                            <tr>
                                <th>Email:</th><td>hokeichan@hit.edu.cn</td><td>wangshuan@hit.edu.cn</td> <th></th><th></th><th></th> <th><b>1470492593@qq.com</b></th>
                            </tr>
                        </table>



                    </div>
                </div>
            </div>
        </div>
        <!--  Jquery Core Script -->
        <script src="assets/js/jquery-1.10.2.js"></script>
        <!--  Core Bootstrap Script -->
        <script src="assets/js/bootstrap.js"></script>

    </body>
</html>
